home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14071 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: access2.digex.net!not-for-mail
  2. From: ell@access2.digex.net (Ell)
  3. Newsgroups: comp.lang.smalltalk,comp.object,comp.lang.c++,comp.lang.java
  4. Subject: Re: The Good, the Bad, the Ugly, and the Wicked ...
  5. Followup-To: comp.lang.smalltalk,comp.object,comp.lang.c++,comp.lang.java
  6. Date: 28 Mar 1996 15:55:00 GMT
  7. Organization: The Universe
  8. Message-ID: <4jecok$a01@news4.digex.net>
  9. References: <31570B8E.5A12@vmark.com> <31586721.1750@mobius.net> <4jbk0m$jt9@news4.digex.net> <AD7EDB45966858C12@mac-sandvik.engr.sgi.com>
  10. NNTP-Posting-Host: access2.digex.net
  11. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  12.  
  13. Kent Sandvik (sandvik@sgi.com) wrote:
  14. : In article <4jbk0m$jt9@news4.digex.net>,
  15. : ell@access1.digex.net (Ell) wrote:
  16. :   >racer-x (pauly@mobius.net) wrote:
  17. :   >: ...Maybe it's just me, but I didn't even realize C++ had 
  18. :   >: dynamic binding.
  19.  
  20. :   >C++ very much has dynamic binding; lookup virtual functions.
  21.  
  22. : It depends how you defined dynamic binding, could you send messages to
  23. : arbitrary methods in C++ during runtime (or java, by the way)?
  24.  
  25. In C++ the specific function being invoked is determined by the specific 
  26. object assigned to a pointer at any one time.  The pointer has a static 
  27. type, yet it can invoke functions of other types during run-time.
  28.  
  29. Elliott
  30.